﻿@if(Session["Username"] != null) {
    <text>Welcome <strong>@Session["Username"]</strong>!
    [ @Html.ActionLink("Log Off", "LogOff", "User") ]</text>
}
else {
    @:[ @Html.ActionLink("Log On", "LogOn", "User") ]
    @:[ @Html.ActionLink("Register", "Register", "User") ]
}
